package com.aiti.lulian.service;

import com.aiti.base.core.base.service.BaseService;
import com.aiti.base.core.utils.message.Message;
import com.aiti.lulian.entity.LuLianEnterprise;
import com.aiti.lulian.entity.LuLianEnterpriseUser;

import java.util.List;
import java.util.Set;

/**
 * @Author WongMz
 * @CreateDate 2024-08-29
 * @Description: 企业用户关系服务层接口类
 */
public interface ILuLianEnterpriseUserService extends BaseService<LuLianEnterpriseUser> {
    public Message queryEnterpriseIdByUserId(String userId);

    /**
     * 查询当前用户下关联的企业信息
     * @param userId
     */
    LuLianEnterprise selectCurrentUserJoinEnterpriseInfo(String userId);

    List<LuLianEnterpriseUser> selectUserIdToEnterpriseName(Set<String> userId);

    Integer selectEnterpriseCountByUserId(String userId);

//    Message getEnterpriseInfoByUserId(String userId);
}